package com.intellagric.service.search.pojo;

import org.apache.solr.client.solrj.beans.Field;

import java.io.Serializable;
import java.util.Date;

public class IftDataRecord implements Serializable {

    @Field("id")
    private String id;

    @Field("equipment_id")
    private String equipmentId;

    @Field("channel_NO")
    private String channelNo;

    @Field("check_item_id")
    private String checkItemId;

    @Field("processed_data")
    private String processedData;

    @Field("acquisition_time")
    private Date acquisitionTime;

    @Field("reporting_time")
    private Date reportingTime;

    @Field("is_warning")
    private Integer isWarning;

    @Field("is_read")
    private Integer isRead;

    @Field("is_treatment")
    private Integer isTreatment;

    @Field("warning_reason")
    private String warningReason;

    //关联数据
    @Field("check_item_name")
    private String checkItemName;
    @Field("equipment_name")
    private String equipmentName;
    @Field("unit")
    private String unit;
    @Field("scene_id")
    private String sceneId;

    public String getSceneId() {
        return sceneId;
    }

    public void setSceneId(String sceneId) {
        this.sceneId = sceneId;
    }

    public String getEquipmentName() {
        return equipmentName;
    }

    public void setEquipmentName(String equipmentName) {
        this.equipmentName = equipmentName;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getCheckItemName() {
        return checkItemName;
    }

    public void setCheckItemName(String checkItemName) {
        this.checkItemName = checkItemName;
    }

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getEquipmentId() {
        return equipmentId;
    }

    public void setEquipmentId(String equipmentId) {
        this.equipmentId = equipmentId == null ? null : equipmentId.trim();
    }

    public String getChannelNo() {
        return channelNo;
    }

    public void setChannelNo(String channelNo) {
        this.channelNo = channelNo;
    }

    public String getCheckItemId() {
        return checkItemId;
    }

    public void setCheckItemId(String checkItemId) {
        this.checkItemId = checkItemId == null ? null : checkItemId.trim();
    }

    public String getProcessedData() {
        return processedData;
    }

    public void setProcessedData(String processedData) {
        this.processedData = processedData;
    }

    public Date getAcquisitionTime() {
        return acquisitionTime;
    }

    public void setAcquisitionTime(Date acquisitionTime) {
        this.acquisitionTime = acquisitionTime;
    }

    public Date getReportingTime() {
        return reportingTime;
    }

    public void setReportingTime(Date reportingTime) {
        this.reportingTime = reportingTime;
    }

    public Integer getIsWarning() {
        return isWarning;
    }

    public void setIsWarning(Integer isWarning) {
        this.isWarning = isWarning;
    }

    public Integer getIsRead() {
        return isRead;
    }

    public void setIsRead(Integer isRead) {
        this.isRead = isRead;
    }

    public Integer getIsTreatment() {
        return isTreatment;
    }

    public void setIsTreatment(Integer isTreatment) {
        this.isTreatment = isTreatment;
    }

    public String getWarningReason() {
        return warningReason;
    }

    public void setWarningReason(String warningReason) {
        this.warningReason = warningReason == null ? null : warningReason.trim();
    }
}